package com.heima.commons.domin.bo;

import java.util.Map;

public class IdCardResult {
    private String log_id;
    private int direction;
    private String image_status;
    private String photo;
    private PhotoLocation photo_location;
    private String card_image;
    private CardLocation card_location;
    private Map<String, WordResult> words_result;
    private int words_result_num;
    
    // Getters and Setters
    public String getLog_id() {
        return log_id;
    }
    
    public void setLog_id(String log_id) {
        this.log_id = log_id;
    }
    
    public int getDirection() {
        return direction;
    }
    
    public void setDirection(int direction) {
        this.direction = direction;
    }
    
    public String getImage_status() {
        return image_status;
    }
    
    public void setImage_status(String image_status) {
        this.image_status = image_status;
    }
    
    public String getPhoto() {
        return photo;
    }
    
    public void setPhoto(String photo) {
        this.photo = photo;
    }
    
    public PhotoLocation getPhoto_location() {
        return photo_location;
    }
    
    public void setPhoto_location(PhotoLocation photo_location) {
        this.photo_location = photo_location;
    }
    
    public String getCard_image() {
        return card_image;
    }
    
    public void setCard_image(String card_image) {
        this.card_image = card_image;
    }
    
    public CardLocation getCard_location() {
        return card_location;
    }
    
    public void setCard_location(CardLocation card_location) {
        this.card_location = card_location;
    }
    
    public Map<String, WordResult> getWords_result() {
        return words_result;
    }
    
    public void setWords_result(Map<String, WordResult> words_result) {
        this.words_result = words_result;
    }
    
    public int getWords_result_num() {
        return words_result_num;
    }
    
    public void setWords_result_num(int words_result_num) {
        this.words_result_num = words_result_num;
    }
    
    public static class PhotoLocation {
        private int width;
        private int top;
        private int left;
        private int height;
        
        // Getters and Setters
        public int getWidth() {
            return width;
        }
        
        public void setWidth(int width) {
            this.width = width;
        }
        
        public int getTop() {
            return top;
        }
        
        public void setTop(int top) {
            this.top = top;
        }
        
        public int getLeft() {
            return left;
        }
        
        public void setLeft(int left) {
            this.left = left;
        }
        
        public int getHeight() {
            return height;
        }
        
        public void setHeight(int height) {
            this.height = height;
        }
    }
    
    public static class CardLocation {
        private int top;
        private int left;
        private int width;
        private int height;
        
        // Getters and Setters
        public int getTop() {
            return top;
        }
        
        public void setTop(int top) {
            this.top = top;
        }
        
        public int getLeft() {
            return left;
        }
        
        public void setLeft(int left) {
            this.left = left;
        }
        
        public int getWidth() {
            return width;
        }
        
        public void setWidth(int width) {
            this.width = width;
        }
        
        public int getHeight() {
            return height;
        }
        
        public void setHeight(int height) {
            this.height = height;
        }
    }
    
    public static class WordResult {
        private Location location;
        private String words;
        
        // Getters and Setters
        public Location getLocation() {
            return location;
        }
        
        public void setLocation(Location location) {
            this.location = location;
        }
        
        public String getWords() {
            return words;
        }
        
        public void setWords(String words) {
            this.words = words;
        }
    }
    
    public static class Location {
        private int left;
        private int top;
        private int width;
        private int height;
        
        // Getters and Setters
        public int getLeft() {
            return left;
        }
        
        public void setLeft(int left) {
            this.left = left;
        }
        
        public int getTop() {
            return top;
        }
        
        public void setTop(int top) {
            this.top = top;
        }
        
        public int getWidth() {
            return width;
        }
        
        public void setWidth(int width) {
            this.width = width;
        }
        
        public int getHeight() {
            return height;
        }
        
        public void setHeight(int height) {
            this.height = height;
        }
    }
}
